from flask import Blueprint, request, render_template
from apps.extensions import db
from apps.models import Test
bp = Blueprint('test', __name__, url_prefix='/test')

# DEMO管理
@bp.get('/main')
def main():
    test = db.session.query(Test).filter(Test.id == 1).first();
    return render_template('demo/test/main.html',test=test)

